package com.czn.dao;

import com.czn.entity.Appointment;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.core.mapper.BaseMapper;


public interface AppointmentDao extends BaseMapper<Appointment> {
    //查询所有预约记录
    void selectLit(PageQuery<Appointment> query);

    // 根据医生查询所有预约记录
    void selectListByDoctor(PageQuery<Appointment> query);

    // 根据id查询预约记录
    Appointment selectOne(Integer id);
}